package com.zrj.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author zhaorujie
 * @version 1.0
 * @date 2021/6/24 14:43
 */
public interface ContentService {

    Boolean parseData(String keyword) throws Exception;

    List<Map<String, Object>> searchData(String keyword, int pageNo, int pageSize) throws IOException;

    List<Map<String, Object>> searchDataHighlight(String keyword, int pageNo, int pageSize) throws IOException;
}
